DB2 stored procedure language allows for the creation of exception handlers for specific conditions; you will use this to trap anticipated errors. DB2存储过程语言允许为特定的情况创建异常处理函数;可以用来捕获可能出现的错误。
Since the trap flag is cleared after the debug exception is generated, we must set the trap flag again if we want to continue in single-step mode. 在调试异常产生之后,因为陷阱标志被清除,此时,如果我们想继续以单步执行模式运行程序,那么我们必须再一次的设置陷阱标志。
In addition, there is a check box labeled "turn on global exception trap" that enables a global exception trap. 此外,还有一个标记为“打开全局异常捕获”的复选框,此复选框用于启用全局异常捕获。